package jvm;

import java.util.concurrent.SynchronousQueue;

/**
 * @author Europa
 * @create 2020-05-30 15:29
 */
public class SynchronousQueueDemo {

    public static void main(String[] args) {
        //可传入布尔值
        //fair ? new TransferQueue<E>() : new TransferStack<E>();
        SynchronousQueue<String> queue = new SynchronousQueue<>();

    }
}
